package test.reject;

public final class RejectObj02 extends Father{
	
	private String id;
	private String name;
	public String publicName;
	
//	public RejectObj02(){
//		super();
//		System.out.println("RejectObj02");
//		this.id = "id";
//		this.name = "name";
//		this.publicName = "publicName";
//	}
	
	public String getId() {
		System.out.println("invoke getId");
		return id;
	}
	public String getName() {
		System.out.println("invoke getName");
		return name;
	}

	public String getPublicName() {
		System.out.println("invoke getPublicName");
		return publicName;
	}
	
	public String toStirng(){
		return "name: "+name+" id: "+id+" PublicName: "+publicName;
	}
	
	

}
